﻿#region Header
// ------------------------ Licence / Copyright ------------------------
// 
// ScrumTable for Scrum Meeting Support
// Copyright © HSR - Hochschule für Technik Rapperswil
// All Rights Reserved
// 
// Author:
//  Michael Gfeller Silvan Gehrig Patrick Boos
// 
// ---------------------------------------------------------------------
#endregion

#region Usings

using System;
using System.Collections.Generic;
using ScrumTable.Common;
using ScrumTable.Common.Threading;
using ScrumTable.DL.Data.Schema;

#endregion

namespace ScrumTable.DL.Data.Common
{
    /// <summary>
    /// Contains an empty implementation of the ICancellableDataResult interface.
    /// </summary>
    public class EmptyCancellableDataResult : DefaultCancellableDataResult
    {
        #region Properties
        //--------------------------------------------------------------------
        // Properties
        //--------------------------------------------------------------------

        #endregion

        #region Constructors / Destructor
        //--------------------------------------------------------------------
        // Constructors / Destructor
        //--------------------------------------------------------------------

        /// <summary>
        /// Creates a new EmptyExportDataResult instance with the specified data.
        /// </summary>
        public EmptyCancellableDataResult()
            : this(true)
        {
        }

        /// <summary>
        /// Creates a new EmptyExportDataResult instance with the specified data.
        /// </summary>
        /// <param name="accepted">Specifies if the data result is accepted or not.</param>
        public EmptyCancellableDataResult(bool accepted)
            : base(() => { }, accepted)
        {
        }

        #endregion

        #region Methods
        //--------------------------------------------------------------------
        // Methods
        //--------------------------------------------------------------------

        #endregion
    }
}